package com.traval.goods.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * TRoom entity. @author MyEclipse Persistence Tools
 */

public class TRoom implements java.io.Serializable {

	// Fields

	private Integer rid;
	private String roomType;
	private String roomNumber;
	private Double price;
	private Integer bedNumbers;
	private Timestamp checkinTime;
	private Timestamp checkoutTime;
	private String hotelName;
	private Set<TGoods> TGoodses = new HashSet<TGoods>();

	// Constructors

	/** default constructor */
	public TRoom() {
	}

	/** minimal constructor */
	public TRoom(String roomNumber, Double price, Timestamp checkinTime, Timestamp checkoutTime) {
		this.roomNumber = roomNumber;
		this.price = price;
		this.checkinTime = checkinTime;
		this.checkoutTime = checkoutTime;
	}

	/** full constructor */
	public TRoom(String roomType, String roomNumber, Double price, Integer bedNumbers, Timestamp checkinTime,
			Timestamp checkoutTime, String hotelName, Set TGoodses) {
		this.roomType = roomType;
		this.roomNumber = roomNumber;
		this.price = price;
		this.bedNumbers = bedNumbers;
		this.checkinTime = checkinTime;
		this.checkoutTime = checkoutTime;
		this.hotelName = hotelName;
		this.TGoodses = TGoodses;
	}

	// Property accessors

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRoomType() {
		return this.roomType;
	}

	public void setRoomType(String roomType) {
		this.roomType = roomType;
	}

	public String getRoomNumber() {
		return this.roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getBedNumbers() {
		return this.bedNumbers;
	}

	public void setBedNumbers(Integer bedNumbers) {
		this.bedNumbers = bedNumbers;
	}

	public Timestamp getCheckinTime() {
		return this.checkinTime;
	}

	public void setCheckinTime(Timestamp checkinTime) {
		this.checkinTime = checkinTime;
	}

	public Timestamp getCheckoutTime() {
		return this.checkoutTime;
	}

	public void setCheckoutTime(Timestamp checkoutTime) {
		this.checkoutTime = checkoutTime;
	}

	public String getHotelName() {
		return this.hotelName;
	}

	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	public Set getTGoodses() {
		return this.TGoodses;
	}

	public void setTGoodses(Set TGoodses) {
		this.TGoodses = TGoodses;
	}

}